import request from '../utils/request'

export function publishComment (data) {
  return request.post('/comment', data)
}

export function getComment (id, pager) {
  return request.get('/comment/' + id, { params: pager })
}
